package com.paas.form.visualdev;

import com.paas.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("form_visualdev")
@ApiModel(value="FormVisualdev对象", description="")
public class FormVisualdevEntity extends BaseModel {
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "主键")
	@TableId
	private String id;

	@ApiModelProperty(value = "描述")
	@TableField("description")
	private String description;

	@ApiModelProperty(value = "排序码")
	@TableField("sort_code")
	private String sortCode;

	@ApiModelProperty(value = "有效标志")
	@TableField("enabled_mark")
	private Integer enabledMark;

//	@ApiModelProperty(value = "创建时间")
//	@TableField("create_date")
//	private String createDate;

//	@ApiModelProperty(value = "创建用户")
//	@TableField("create_id")
//	private String createId;

//	@ApiModelProperty(value = "修改时间")
//	@TableField("modify_date")
//	private String modifyDate;

	@ApiModelProperty(value = "修改用户")
	@TableField("modify_id")
	private String modifyId;

	@ApiModelProperty(value = "删除标志")
	@TableField("delete_mark")
	private Integer deleteMark;

	@ApiModelProperty(value = "删除时间")
	@TableField("delete_time")
	private String deleteTime;

	@ApiModelProperty(value = "删除用户")
	@TableField("delete_user_id")
	private String deleteUserId;

	@ApiModelProperty(value = "名称")
	@TableField("full_name")
	private String fullName;

	@ApiModelProperty(value = "编码")
	@TableField("en_code")
	private String enCode;

	@ApiModelProperty(value = "状态(0-暂存（默认），1-发布)")
	@TableField("state")
	private Integer state;

	@ApiModelProperty(value = "类型(1-应用开发,2-移动开发,3-流程表单)")
	@TableField("type")
	private Integer type;

	@ApiModelProperty(value = "关联的表")
	@TableField("tem_table")
	private String temTable;

	@ApiModelProperty(value = "分类（数据字典）")
	@TableField("category")
	private String category;

	@ApiModelProperty(value = "表单配置JSON")
	@TableField("form_data")
	private String formData;

	@ApiModelProperty(value = "列表配置JSON")
	@TableField("column_data")
	private String columnData;

	@ApiModelProperty(value = "功能字段JSON")
	@TableField("fie_ids")
	private String fieIds;

	@ApiModelProperty(value = "前端模板JSON")
	@TableField("template_data")
	private String templateData;

	@ApiModelProperty(value = "关联数据连接id")
	@TableField("db_link_id")
	private String dbLinkId;

	@ApiModelProperty(value = "工作流模板JSON")
	@TableField("flow_template_json")
	private String flowTemplateJson;

	@ApiModelProperty(value = "页面类型（1、纯表单，2、表单加列表，3、表单列表工作流）")
	@TableField("web_type")
	private Integer webType;

	@ApiModelProperty(value = "关联工作流连接id")
	@TableField("flow_id")
	private String flowId;

	@ApiModelProperty(value = "app列表配置JSON")
	@TableField("app_column_data")
	private String appColumnData;

	@ApiModelProperty(value = "租户id")
	@TableField("tenant_id")
	private String tenantId;

	@ApiModelProperty(value = "启用流程")
	@TableField("enable_flow")
	private Integer enableFlow;

	@ApiModelProperty(value = "接口id")
	@TableField("interface_id")
	private String interfaceId;

	@ApiModelProperty(value = "接口名称")
	@TableField("interface_name")
	private String interfaceName;

	@ApiModelProperty(value = "数据状态")
	@TableField("status")
	private String status;

	@ApiModelProperty(value = "接口参数")
	@TableField("interface_param")
	private String interfaceParam;

	@ApiModelProperty(value = "目录分组id")
	@TableField("res_id")
	private String resId;

	@TableField(exist = false)
	private String resShowName;


}